package me.wangqu.weiyouqu.web.rest.business.dao;

import java.math.BigDecimal;

/**
 * Created by joln on 2016/6/24.
 */
public interface SignDao {
    /**
     * 判断今天是否可以签到
     */
    boolean isSignEnable(final String login);

    /**
     * 签到
     * @param login
     * @param amount
     * @param ip
     * @return
     */
    boolean sign(final String login, final BigDecimal amount, final String ip);

}
